#include <stdio.h>

int fn0(){
	printf("输入一个数判断奇偶数：");
	int num;
	scanf("%d",&num);
	switch(num%2){
		case 1:{
			printf("num=%d是奇数",num);
			break;
		}
		case 0:{
			printf("num=%d是偶数",num);
			break;
		}
	}
	return 0;
}

int fn1(){
	printf("输入一个数判断奇偶数：");
	int num;
	scanf("%d",&num);
	num%2==0?printf("num=%d是偶数",num):printf("num=%d是奇数",num);
	return 0;
}

int fn2(){
	printf("输入一个数判断奇偶数：");
	int num;
	scanf("%d",&num);
	if(num%2==0){
		printf("num=%d是偶数",num);
	}else{
		printf("num=%d是奇数",num);
	}
	return 0;
}

int fn3(){
	printf("输入一个数判断是否可以被5整除：");
	int num;
	scanf("%d",&num);
	num%5==0?printf("num=%d可以被5整除",num):printf("num=%d不可以被5整除",num);
	return 0;
}

int main(){
	fn3();
	return 0;
}